'use strict';

const {sequelize,DataTypes,defineModel} = require('../db');

let SurveyState = defineModel('surveystate',{
    surveyId : {
        type : DataTypes.BIGINT,
        allowNull : false
    },
    state : {
        type : DataTypes.BIGINT,
        allowNull : false,
        defaultValue:0 //未发布
    }
});

module.exports = SurveyState;